package event.window;

import javax.swing.*;

public class TestWindowEven extends JFrame {
    public TestWindowEven(){
        this.setSize(500, 500);
        this.setDefaultCloseOperation(3);
        this.setLocationRelativeTo(null);

        WindowEventListener we = new WindowEventListener();
        this.addWindowFocusListener(we);

        this.setVisible(true);
    }

    public static void main(String args[]){
        new TestWindowEven();
    }
}
